package com.t9;

/**
 * Created by xuyiwei on 2018/7/20.
 */
abstract class E04Bae{
    abstract void say();
}

class E04Base2 extends  E04Bae{
    public void say(){
        System.out.println("你好中国");
    }
}
public class E04 {
    static void says(E04Bae e){
        e.say();
    }

    public static void main(String[] args) {
        E04Base2 e04Base2 = new E04Base2();
        E04.says(e04Base2);
    }
}
